<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <style>
    .single{
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    .multi{
      -webkit-box-orient: vertical;  
      -webkit-line-clamp: 3;  
      overflow: hidden;  
        display: -webkit-box;  
      text-overflow: ellipsis;  
    }
  </style>
  
</body>
</html>